Z:\to_server\website\mrdcl-learning.com\mrdcl_files\DAT-10\run.stp
start data,
serial number in columns 1-3,
!
!!dm $q1=$11/1,$12/1,$13/1,$14/1,$15/1, (the line below is the same)
dm $q1=$11-15,
x='Brand A;
Brand B;
Brand C;
Brand D;
Brand E',
xt='Q1',
dm $q2=$21-22 * 5/1-5,
x=$q1,
xt='Q2',
ds $q3_1=$41/1-5,
x=$q1,
xt='Q3 - 1st choice',
ds $q3_2=$42/1-5,
x=$q1,
xt='Q3 - 2nd choice',
ds $q3_3=$43/1-5,
x=$q1,
xt='Q3 - 3rd choice',
ds $q3_4=$44/1-5,
x=$q1,
xt='Q3 - 4th choice',
ds $q3_5=$45/1-5,
x=$q1,
xt='Q3 - 5th choice',
dm $q3=$q3_1.or.$q3_2.or.$q3_3.or.$q3_4.or.$q3_5,
x=$q1,
xt='Q3 All choices',
ordm $q3x=$41/1-5,
ordm $q3x=$42/1-5,
ordm $q3x=$43/1-5,
ordm $q3x=$44/1-5,
ordm $q3x=$45/1-5,
x=$q1,
xt='Q3 All choices',
finish data,
start tables,
t#1=$q1 *,
t#2=$q2 *,
t#3=$q3 *,
t#4=$q3x *,
finish tables,
